package dataStructures;

import twitter4j.Query;

public class MyQuery {
	public String term; 
	public Location location;
	
	public MyQuery() {
		
	}
	
	public MyQuery(Query query) {
		term = query.getQuery();
		location = new Location(query.getGeocode());
	}
	
	public MyQuery(String term, Location location) {
		this.term = term;
		this.location = location;
	}
		
	public String toString() {
		return "term:\"" + term + "\" loc:" + location;
	}
}